{{extend '../layout.html'}}
{{block 'body'}}
<div class="container">
    <div class="form-group">
      <label for="userName">标题</label><br/>
      {{title}}<p class="h6">作者：{{userName}}</p>
    </div>
    <div class="form-group">
      <label for="password">内容</label><br/>
      {{content}}
    </div>
    <button id="cancel" type="button" onclick="javascript:location.href='/{{link}}'" class="btn btn-primary">Back</button>
</div>
<script type="text/javascript">
      // $('#cancel').click(function(){
      //     location.href = "/";
      // });
</script>
{{/block}}